//
// Created by Administrator on 2024/3/29.
// 质因数分解

#include <iostream>
using namespace std;

int main()
{
    int n = 16*7*11;
    for (int i = 2; i*i <= n ; ++i)
    {
        while(n%i==0)
        {
            n/=i;
            cout<<i<<endl;
        }
    }
    if (n>1)
        cout<<n;
    return 0;
}